package com.sysiti.sybiz.springcloud.client.controller;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
	private final Logger logger = Logger.getLogger(getClass());
	
	@Value("${server.port}")
	private String port;
	
	@RequestMapping(value = "/hi")
	public String hello(){
		return "hi ,i am from port:" + port;
	}
}
